package util

import (
	"github.com/spf13/viper"
	"runtime"
)

func GetFileUploadPath() string {
	sysType := runtime.GOOS
	if sysType == "linux" {
		return viper.GetString("file.upload.linux.path")
	}

	if sysType == "windows" {
		return viper.GetString("file.upload.windows.path")
	}
	return ""
}
func GetFileUploadCoverPath() string {
	sysType := runtime.GOOS
	if sysType == "linux" {
		return viper.GetString("file.upload.linux.cover")
	}

	if sysType == "windows" {
		return viper.GetString("file.upload.windows.cover")
	}
	return ""
}
